package com.tywh.pojo;

import java.io.Serializable;

public class ResponseData implements Serializable {

    private static final long serialVersionUID = -1752989852101213829L;

    /** 状态码1：成功；-1：失败 */
    String statusCode;
    /** 数据 */
    Object data;
    /** 网络状态码200,400,500,503... */
    String httpCode;
    /** 错误信息 */
    String content;

    public ResponseData() {
    }

    public ResponseData(String statusCode, Object data, String httpCode, String content) {
        this.statusCode = statusCode;
        this.data = data;
        this.httpCode = httpCode;
        this.content = content;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getHttpCode() {
        return httpCode;
    }

    public void setHttpCode(String httpCode) {
        this.httpCode = httpCode;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
